package com.mlnx.netty.app.ecg.session.core;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import lombok.Data;

/**
 * Created by amanda.shan on 2019/8/13.
 */
@Data
public class Session {

    protected Set<String> topicFilters = new HashSet<>();

    private String clientId;    // 客户端ID

    private String username;    // 用户名

    private String password;    // 密码

    private Integer keepAliveSeconds;

    protected Date lastPacketTime = new Date();        // 最后一次收到数据包的时间



}
